function [] = SaveResults()
global policy_file;
global home_path;

global blue;
global red;
global num_passes; 
global time;
global possession;
global total_reward;



global num_players_r

num_episodes = blue + red;
ratio = red/num_episodes
time = toc
passes_per_episode = num_passes/num_episodes
time_per_episode = time/num_episodes
possession_per_episode = possession/num_episodes
total_reward
reward_per_episode = total_reward/(num_players_r*num_episodes)

savefile = strcat(home_path,'results/results_',policy_file,'_',num2str(blue+red),'.mat');
save(savefile, 'red','blue','ratio','time','time_per_episode','passes_per_episode','possession_per_episode','reward_per_episode'); 
disp(sprintf('Saved results: %s', savefile));    

end